import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import 'element-plus/theme-chalk/dark/css-vars.css'
import i18n from "./plugin/i18n/i18n";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
import '@icon-park/vue-next/styles/index.css';
import router from './vue-router'
import App from "./App.vue";

const store = createPinia();
store.use(piniaPluginPersistedstate);
const app = createApp(App);
app.use(store)
app.use(ElementPlus)
app.use(i18n)
app.use(router)
app.mount("#app");
